<?php 
$row_rsEditSpotlight = $spotlight->getDataArray();
?>
<div class="cms-form-message">
    Edit the information for the currently selected spotlight
</div>
<form action="<?php echo $this->url(array('action' => 'edit')); ?>" method="post" name="form1" id="spotlight-edit-form">
    <table width="98%" align="center" cellpadding="5" cellspacing="0">
        <tr valign="baseline">
            <td colspan="2" align="left" valign="middle" nowrap="nowrap" class="cms-warning" style="text-align: left;">
                <input type="checkbox" name="approved" value="true"  <?php
if (!(strcmp(htmlentities($row_rsEditSpotlight['approved'], ENT_COMPAT, 'iso-8859-1'), "true"))) {
    echo "checked=\"checked\"";
}
?> />
                Approved For Display</td>
        </tr>

        <tr valign="baseline">
            <td width="168" align="right" nowrap="nowrap" class="sectionTitle1">Title:</td>
            <td width="551">
                <input type="text" name="menu_header" value="<?php echo htmlentities($row_rsEditSpotlight['menu_header'], ENT_COMPAT, 'iso-8859-1'); ?>" size="40" />
            </td>
        </tr>
        <tr valign="baseline">
            <td align="right" nowrap="nowrap" class="sectionTitle1">Subtitle:</td>
            <td>
                <input type="text" name="menu_subheader" value="<?php echo htmlentities($row_rsEditSpotlight['menu_subheader'], ENT_COMPAT, 'iso-8859-1'); ?>" size="40" />
            </td>
        </tr>
        <tr valign="baseline">
            <td align="right" valign="top" nowrap="nowrap" class="sectionTitle1">Description:</td>
            <td>
                <textarea name="description" id="description" cols="60" rows="5"><?php echo htmlentities($row_rsEditSpotlight['description'], ENT_COMPAT, 'iso-8859-1'); ?></textarea>
            </td>
        </tr>
        <tr valign="baseline">
            <td align="right" valign="middle" nowrap="nowrap" class="sectionTitle1">Spotlight URL</td>
            <td valign="top">
                <p>
                    <input class="page-linker" name="spotlight_url" type="text" id="spotlight_url" value="<?php echo $row_rsEditSpotlight['spotlight_url']; ?>" size="50" />
                </p>
            </td>
        </tr>
        <!--<tr valign="baseline">
            <td colspan="2" align="center" nowrap="nowrap">&nbsp;</td>
        </tr>
        <tr valign="baseline">
            <td colspan="2" align="center" nowrap="nowrap">
                <input type="submit" value="Save Changes" />
                <input type="button" name="Cancel" id="save-cancel" value="Cancel Update" />
            </td>
        </tr>-->
    </table>
    <input type="hidden" name="spotlight" value="<?php echo htmlentities($row_rsEditSpotlight['spotlight'], ENT_COMPAT, 'iso-8859-1'); ?>" />
    <input type="hidden" name="date" value="<?php echo htmlentities($row_rsEditSpotlight['date'], ENT_COMPAT, 'iso-8859-1'); ?>" />
    <input type="hidden" name="MM_update" value="form1" />
    <input type="hidden" name="id" value="<?php echo $row_rsEditSpotlight['id']; ?>" />
</form>